package com.xxx.kjds.mapper;

import com.xxx.kjds.entity.Goods;
import com.xxx.kjds.entity.GoodsExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsMapper {
    long countByExample(GoodsExample example);

    int deleteByExample(GoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Goods row);

    int insertSelective(Goods row);

    List<Goods> selectByExample(GoodsExample example);

    Goods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Goods row, @Param("example") GoodsExample example);

    int updateByExample(@Param("row") Goods row, @Param("example") GoodsExample example);

    int updateByPrimaryKeySelective(Goods row);

    int updateByPrimaryKey(Goods row);

    void uploadToStorehouse(Integer id);

    void uploadToStore(Integer id);

    void goOffFromStore(Integer id);

    void offStorehouse(Integer id);

    List<Goods> selectGoodsByCompanyID(Integer mvo_id);
}